home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 103
/
103.d81
/
cryptomind 03
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
6KB
|
215 lines
10 poke56,56:clr:poke53281,0:poke53280,0
15 poke788,52
20 print"[147]":gosub1990
30 dv=peek(186):ifdv<8thendv=8
40 sys57812"mindfont",dv,0:poke780,0:poke781,0:poke782,56:sys65493
50 sys57812"inp/cm ce00",dv,0:poke780,0:poke781,0:poke782,206:sys65493
60 poke53281,0:poke53280,0:dimw$(300),w(13)
70 sys52736,"cryptdata 03",dv
80 h=peek(252)*256+peek(251)
90 goto390
100 poke214,y:print""
110 printtab(x)"[176]"left$(lt$,xx)"[174]"
120 fori=1toyy:printtab(x)"[165]"left$(sp$,xx)"[167][149]@":next
130 printtab(x)"[173]"left$(lb$,xx)"[189][149]@"
140 printtab(x+1)left$(sh$,xx+2)
150 poke214,y+1:print:printtab(x+2);
160 return
170 poke214,23:print
180 print" [193]ny key [155]- more [210][197][212][213][210][206] [155]- menu[145]":poke198,0
190 geta$:ifa$=""then190
200 fg=0:ifa$=chr$(13)thenfg=1
210 return
220 syscm,1024,16384+s*2000,1000
230 syscm,55296,17384+s*2000,1000
240 return
250 syscm,16384+s*2000,1024,1000
260 syscm,17384+s*2000,55296,1000
270 return
280 t=(t+1)and63
290 syscm,15872+t*8,14336,8
300 return
310 geta$:ifa$=""then310
320 ifa$>="a"anda$<="z"thena$=chr$(asc(a$)+128)
330 ifa$<"[193]"ora$>"[218]"then310
340 return
350 poke214,y+1:print:printtab(3)"[154] [209]uit this game to the menu? (y[154]/n[154])"
360 geta$:ifa$=""then360
370 ifa$="y"thenreturn
380 fl=1:return
390 print"[147]":cm=53176:pg$="lbrgnmt"
400 fori=1to5:readm$(i):next
410 data" [208]lay [195][210][217][208][212][207][205][201][206][196]
420 [131]" (NULL)ules of len(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)right$(NULL)str$
430 data" [200]ow to [211]olve [195]ryptics
440 [131]" len(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)right$(NULL)str$ (NULL)olution
450 data" [210]eturn to [204][207][193][196][211][212][193][210]
460 lt$[178]"tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab("
470 sp$[178]" "
480 lb$[178]"totototototototototototototototototototototototototototototototototototototo"
490 sh$[178]"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
500 md$[178]"tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan"
510 m2$(0)[178]"(NULL)valasc(NULL) of which letter"
520 m2$(1)[178]"(NULL)right$chr$left$(NULL) of which letter"
530 m2$(2)[178]"peekval(NULL)(NULL)valval(NULL) which letters"
540 m2$(3)[178]"(NULL)hat's the word"
550 [153]"load":[151]53272,31
560 t[178]12:[141]280
570 [129]i[178]100[164]140:[139]w$(i)[178]"*"[167]u[178]i[171]3:i[178]140
580 [130]
590 [153]"loadsys";
600 [129]i[178]0[164]23:[153]sh$;:[130]:[153][200](sh$,39)"cmdcmdsave@@"
610 [129]i[178]217[164]242:[151]i,[194](i)[176]128:[130]:s[178]0:[141]220
620 x[178]8:xx[178]23:y[178]3:yy[178]14:[141]100
630 [153]"open len (NULL) (NULL) (NULL) (NULL) (NULL) (NULL) right$ (NULL) str$cont"
640 [129]i[178]1[164]5:[153][163]9)m$(i):[153]:[130]:s[178]2:[141]220
650 m[178]1:w[178]0
660 [151]214,6[170]m[172]2:[153]:[153][163]9)""m$(m)"on":[151]198,0
670 [161]a$:[139]a$[179][177]""[175]a$[179][177]"on"[175]a$[179][177][199](13)[175]a$[179][177]"t"[167]670
680 [139]a$[178][199](13)[167]s[178]1:[141]220:[137]740
690 [139]a$[178]"t"[167][141]280
700 [153][163]9)"cont"m$(m)
710 [139]a$[178]"on"[167]m[178]m[171]1:[139]m[179]1[167]m[178]5
720 [139]a$[178]""[167]m[178]m[170]1:[139]m[177]5[167]m[178]1
730 [137]660
740 [145]m[141]760,1600,1410,1490,1760
750 [137]660
760 s[178]0:[141]250:cl[178]2:sc[178]100
770 x[178]5:xx[178]28:y[178]0:yy[178]11:[141]100
780 [153][163]x[170]1)"listatnpeeklenstr$valascchr$left$right$mid$(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)(NULL)"
790 x[178]2:xx[178]34:y[178]15:yy[178]5:[141]100
800 [153]"cmd(NULL)contvalasc(NULL) peekcontval(NULL)(NULL)valval(NULL) (NULL)contright$chr$left$(NULL) chr$cont(NULL)val(NULL)(NULL) (NULL)contval(NULL)(NULL) (NULL)contval(NULL)(NULL)
810 printtab(9)"[215][207][210][196]:"tab(21)"[211][195][207][210][197]:"
820 printtab(x)"[171]"left$(md$,xx)"[179]"
830 fori=1to10:w(i)=0:next
840 w=w+1:ifw(w)andw<11then840
850 ifw>10thenw=0:goto840
860 poke214,y+2:print:printtab(14)" [157][157][157]"w;tab(27)" [157][157][157][157]"sc
870 gg=0:cl=2:wd$=w$(u+w*4):lw=len(wd$)
880 poke214,19:print"[155]":printtab(x+1)left$(sp$,xx)"[145]":printtab(x+1)w$(u+1+4*w)
890 printtab(x+1)left$(sp$,xx)"[145]":printtab(x+1)w$(u+2+4*w):g=1
900 poke214,y+1:print
902 ifggthenprinttab(3)"[151][204][197][198][212] [194][197][212][215][197][197][206] [210][201][199][200][212] [199][154][213][197][211][211] [206][154][197][216][212] [205][154][197][206][213]":goto910
905 printtab(3)"[204][154][197][198][212] [194][154][197][212][215][197][197][206] [210][154][201][199][200][212] [199][154][213][197][211][211] [206][154][197][216][212] [205][154][197][206][213]
910 [161]a$:[129]i[178]1[164]7:[139]a$[178][202](pg$,i,1)[167]i[178]7:[130]:[137]917
915 [130]:[137]910
917 [139]a$[178]"n"[167]1320
920 [139]a$[178]"t"[167][141]280:[137]910
930 [139]a$[179][177]"m"[167]960
940 [141]350:[139]fl[167]fl[178]0:[137]900
950 s[178]1:[141]250:w[178]0:[142]
960 [139]a$[178]"g"[167]m2[178]3:[137]1010
970 [139]gg[167]900
980 [139]a$[178]"l"[167]m2[178]0:sc[178]sc[171]1
990 [139]a$[178]"r"[167]m2[178]1:sc[178]sc[171]1
1000 [139]a$[178]"b"[167]m2[178]2:sc[178]sc[171]2
1010 [151]214,y[170]1:[153]:[153][163]x[170]1)[200](sp$,xx)"on"
1020 [153][163]x[170]6[170]4[172](m2[178]2))"cont"m2$(m2)"? ";
1030 [139]m2[178]3[167]1250
1040 [141]310:a1$[178]a$:a1[178][198](a1$)[171]192
1050 [139]m2[178]0[175]a1$[178]"atn"[167]1040
1060 [139]m2[178]1[175]a1$[178]"(NULL)"[167]1040
1070 [153]""a1$;
1080 [139]m2[179]2[167][153]:[137]1130
1090 [153]"cont and ";
1100 [141]310:a2$[178]a$:a2[178][198](a2$)[171]192
1110 [139]a2[171]a1[179]2[167]1100
1120 [153]""a2$;
1130 [139]m2[178]0[167]a2[178]a1:a1[178]0:[137]1150
1140 [139]m2[178]1[167]a2[178]26:[137]1150
1150 [151]214,2[170]g:[153]
1160 [153][163]7[170]a1);
1170 cl[178]cl[170]1
1180 [151]646,cl:[153]""[200](sp$,a2[171]a1[170](m2[178]2)[170](m2[178]0))
1190 co[178]0:[129]i[178]1[164]lw:l[178][198]([202](wd$,i,1))[171]192
1200 [139]l[177]a1[175]l[179]a2[167]co[178]co[170]1
1210 [130]
1220 [151]214,2[170]g:[153]:[153][163]6[170]a1[170](a2[171]a1)[173]2[171](m2[178]1))""[199](co[170]48)
1230 g[178]g[170]1:[139]g[177]9[167]gg[178]1
1240 [137]900
1250 [141]1880:[153]"onon":zz[178]0
1260 [151]214,16:[153]:[153][163]x[170]1)[200](sp$,xx)"on"
1270 [153][163]14);:[151]646,ca
1280 [139]q9$[178]wd$[167][153]"(NULL) right$ chr$ left$ (NULL) (NULL) !on":w(w)[178]1:[137]1300
1290 [153]"(NULL) (NULL) (NULL) (NULL) chr$ (NULL) !on"
1300 zz[178]zz[170]1:[139]zz[179]20[167]ca[178]1[171]ca:[137]1270
1310 [139]q9$[179][177]wd$[167]sc[178]sc[171]3
1320 [129]i[178]1[164]10
1330 [139]w(i)[167]1350
1340 i[178]10:[130]:[151]214,3:[153]:[129]j[178]1[164]9:[153][163]6)[200](sp$,28):[130]:[137]840
1350 [130]
1360 [151]214,16:[153]
1370 [153]"open (NULL)our score was"sc" "
1380 [153]"open atnny key for the menu "
1390 [161]a$:[139]a$[178]""[167]1390
1400 s[178]2:[141]250:w[178]0:[142]
1410 [153]"loadopen":[129]i[178]1[164]99
1420 [139]w$(i)[179][177]"\"[167]1450
1430 [141]170:[139]fg[167]i[178]99:[130]:s[178]2:[141]250:[142]
1440 [153]"loadopen":i[178]i[170]1
1450 [153]" "w$(i)
1460 [130]
1470 [141]170:[139]fg[167]i[178]99:s[178]2:[141]250:[142]
1480 [137]1410
1490 i[178]0
1500 [153]"load"
1510 [153]""w$(u[170]4[170]i[172]4)
1520 [153]"cont "w$(u[170]5[170]i[172]4)
1530 [153]" "w$(u[170]6[170]i[172]4)
1540 [153]"open "w$(u[170]7[170]i[172]4)
1550 [153]
1560 i[178]i[170]1:[139]i[173]4[179][177][181](i[173]4)[167]1510
1570 [141]170:[139]fg[167]s[178]2:[141]250:[142]
1580 [139]i[179]10[167]1500
1590 i[178]0:[137]1500
1600 x[178]3:xx[178]32:y[178]2:yy[178]16:[141]100
1610 [153][163]5)"open (NULL)ou may get clues to the
1620 printtab(5)"word defined by the cryptic
1630 [153][163]5)"clue by pressing (NULL)open, (NULL)open or peekopen.
1640 printtab(5)"[212]he number of letters in the
1650 [153][163]5)"word found in the range you
1660 printtab(5)"selected is shown. [206]ote that
1670 [153][163]5)"the